package com.sso.crm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * <p>类说明</p>
 *
 * @author 张峰 zfvip_it@163.com
 * @createTime: 2016/10/19 11:08
 */
@Controller
public class LoginController {

    /**
     *
     * @param mav
     * @return
     */
    @RequestMapping({"", "/", "index.htm"})
    public ModelAndView index(ModelAndView mav){
        mav.setViewName("index");
        return mav;
    }

    /**
     *
     * @param mav
     * @return
     */
    @RequestMapping("notLogin.htm")
    public ModelAndView notLogin(ModelAndView mav){
        mav.setViewName("notLogin");
        return mav;
    }

}
